<template>
	<div id="mainfrm">
		<div class="ctx">
			<router-view></router-view>
		</div>
		<Foot :navparam="navs"></Foot>
	</div>
</template>

<script>
	import Foot from './Foot'
	export default{
		name:"MainFrm",
		data(){
			return {
				navs:[
					{
						path:'/welcome',
						title:'首页',
						logo:'http://192.168.10.253/123asfr34142341243'
					},
					{
						path:'/goods',
						title:'商品',
						logo:'http://192.168.10.253/123asfr34142341243'
					},{
						path:'/orders',
						title:'订单',
						logo:'http://192.168.10.253/123asfr34142341243'
					},{
						path:'/myself',
						title:'我的',
						logo:'http://192.168.10.253/123asfr34142341243'
					}
				]
			}
		},
		components:{
			Foot
		}
	}
</script>

<style scoped>
	.ctx{
		height: 90vh;
		overflow: scroll;
	}
</style>